// 剧情详情
<template>
	<view class="content">
		<view class="img">
			<image class="image" :src="data.cover" mode="aspectFill"></image>
		</view>
		<view class="title">{{ data.name }}</view>
		<view class="textContent">{{ data.remark }}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{}
			}
		},
		methods: {
			
		},
		onLoad(options) {
			this.data = JSON.parse(options.data)
		}
	}
</script>

<style lang="scss">
	.content{
		display: flex;
		box-sizing: border-box;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 20px;
		margin-top: 30px;
		
		.img{
			flex-shrink: 0;
			width: 270rpx;
			height: 368rpx;
			// background-color: red;
			.image{
				width: 100%;
				height: 100%;
				border-radius: 5px;
			}
		}
		.title{
			font-size: 18px;
			font-weight: 500;
			margin-top: 25px;
		}
		.textContent{
			display: flex;
			box-sizing: border-box;
			font-size: 17px;
			margin-top: 25px;
			line-height: 24px;
		}
	}
</style>	


